package com.itheima.utils;

import com.itheima.constant.MessageConstant;

/**
 * @description: 判断是否是合格
 * @author: wangjingliang
 * @create: 2019-11-09 14:33
 **/
public class HealthStringUtils {
    public static  boolean isEmpty(String str){
        return str==null || str.trim().length()==0;
    }

    public static void paramisNull(String param , String message){
        if (param==null||param.trim().length()==0){
            throw new RuntimeException(message);
        }
    }

}
